<template>
  <el-container class="main">
    <el-header>
      <commonHeader></commonHeader>
    </el-header>
    <el-main>
      <router-view></router-view>
    </el-main>
  </el-container>
</template>

<script>
import commonHeader from '@/components/Header'
export default {
  name: 'main-index',
  components: {
    commonHeader
  }
}
</script>

<style lang="scss" scoped>
.main {
  height: 100%;
}
/deep/ .el-header {
  padding: 0;
  height: 80px !important;
}
</style>
